速報APP / 教育 / Euclidean Algorithm GCD

Euclidean Algorithm GCD

價格:免費

更新日期:2019-01-05

檔案大小:1.3M

目前版本:1.0.1

版本需求:Android 4.0.3 以上版本

官方網站:http://www.nummolt.com

Email:nummolt@gmail.com

聯絡地址:Maurici Carbó C/ Sant Antoni Maria Claret, 324 Barcelona 08041 SPAIN

Euclidean Algorithm GCD(圖1)-速報App

Animated Euclidean Algorithm

Greatest Common Divisor.

Useful to reduce fractions

Visible Euclidean algorithm

GCD, also known as the greatest common factor (gcf), highest common factor (hcf), greatest common measure (gcm), or highest common divisor.

Dynamic and geometric representation of the algorithm.

Recursive algorithm

And Least Common Multiple deduced from GCD:

lcm(a,b) = a*b / gcd(a,b)

Useful to understand the gcd (Euclidean Algorithm) recursive code: (Java)

int gcd(int m, int n){

if(0==n){

return m;

Euclidean Algorithm GCD(圖2)-速報App

}else{

return gcd(n,m%n);

}

}

Added Geometric visualization.

Algorithm executed by Dandelions coming from the nearby Mathematical Garden

Euclidean Algorithm History:

("The Pulverizer")

The Euclidean algorithm is one of the oldest algorithms in common use.

It appears in Euclid's Elements (c. 300 BC), specifically in Book 7 (Propositions 1–2) and Book 10 (Propositions 2–3).

Centuries later, Euclid's algorithm was discovered independently both in India and in China, primarily to solve Diophantine equations that arose in astronomy and making accurate calendars.

In the late 5th century, the Indian mathematician and astronomer Aryabhata described the algorithm as the "pulverizer", perhaps because of its effectiveness in solving Diophantine equations.

Acknowledgements:

Euclidean Algorithm GCD(圖3)-速報App

Joan Jareño (Creamat) (Addition of lcm)

Euclidean Algorithm GCD(圖4)-速報App